package com.example.chat.repository;

import com.example.chat.model.Region;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @Description
 * @Date 2022/11/17 16:57
 * @Author pq
 */
public interface RegionRepository extends JpaRepository<Region,String> {
    Optional<Region> findByIdAndDeletedIsFalse(String RegionId);
}
